package com.deuwise.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 图层弹窗标题配置实体
 *@author hezhenhao
 *@date 2020-05-27 13:26:17
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("SYS_LAYER_TITLE")
public class SysLayerTitle extends Model<SysLayerTitle>  implements Serializable{
    /**主键标识*/
    @ApiModelProperty("主键标识")
    @TableField("id")
    private String id;

    /**图层ID*/
    @ApiModelProperty("图层ID")
    @TableField("layer_id")
    private String layerId;

    /**服务地址*/
    @ApiModelProperty("服务地址")
    @TableField("services_url")
    private String servicesUrl;

    /**弹窗标题*/
    @ApiModelProperty("弹窗标题")
    @TableField("popup_title")
    private String popupTitle;

    /**图层字段列表*/
    @ApiModelProperty("图层字段列表")
    @TableField(exist = false)
    private List<SysLayerField> layerFieldList;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}